//
//  AllExtension.swift
//  HZJGTEST
//
//  Created by 运车管家 on 2017/8/26.
//  Copyright © 2017年 运车管家. All rights reserved.
//

import UIKit

var ScreenW:CGFloat {
    return UIScreen.main.bounds.width
}
var ScreenH:CGFloat {
    return UIScreen.main.bounds.height
}

extension UIColor {
    open class var random: UIColor {
        return UIColor(red: CGFloat(arc4random_uniform(256)) / 255.0, green: CGFloat(arc4random_uniform(256)) / 255.0, blue: CGFloat(arc4random_uniform(256)) / 255.0, alpha: 1)
    }
}
